package com.huike.mapper;
import com.huike.pojo.Hospital;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;

public interface HospitalMapper {
    Hospital getHospitalById(Integer id);
    void updateAdd_many(@Param("registerId") Integer registerId,
                        @Param("deposit") Double deposit,
                        @Param("restCost") Double restCost);

    void updateForAdd(@Param("nursePeople") String nursePeople,
                      @Param("bedNumber") Integer bedNumber,
                      @Param("illness") String illness,
                      @Param("registerId") Integer registerId,
                      @Param("hospitalDate") String hospitalDate);

    void update(@Param("nursePeople") String nursePeople,
                @Param("bedNumber") Integer bedNumber,
                @Param("illness") String illness,
                @Param("registerId") Integer registerId);
    Integer findEndStatusById(Integer registerId);
    void Discharge(@Param("registerId")Integer registerId,@Param("date") String date);


    void Settlement(@Param("registerId") Integer registerId,
                    @Param("total")Double total,
                    @Param("restCost")Double restCost);
}
